﻿using System;
using System.Windows.Automation.Peers;
using System.Windows.Controls;

namespace CMView
{
	public class CommonControl : ContentControl
	{
		private Button _btnBack = new Button();

		public CommonControl()
		{
			_btnBack.Content = "Back";
			_btnBack.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
			_btnBack.VerticalAlignment = System.Windows.VerticalAlignment.Bottom;
			this.AddChild(_btnBack);
		}

		protected override AutomationPeer OnCreateAutomationPeer()
		{
			return base.OnCreateAutomationPeer();
		}
	}
}